Hoffman2 Happy Hours: Connecting To the Hoffman2 Cluster via remote desktop / Data Transfer to and from the Hoffman2 Cluster¶

Raffaella D'Auria, PhD¶

Learning Outcomes¶

  • what is the Hoffman2 Cluster (recap)
  • the Hoffman2 Cluster documentation (recap)
  • connecting to the Hoffman2 Cluster via a remote desktop
  • copying your data to and from the Hoffman2 Cluster
  • connecting to the Hoffman2 Cluster via VS Code (extra and as interest/time permits)

Screen%20Shot%202022-02-07%20at%2012.45.17%20PM.png

Navigating the documentation¶

https://www.hoffman2.idre.ucla.edu/

Screen%20Shot%202022-02-07%20at%204.35.52%20PM.png

Connecting via a remote desktop¶

https://www.hoffman2.idre.ucla.edu/Using-H2/Connecting/Connecting.html#connecting-via-remote-desktop

Advantages¶

  • access a graphical desktop on Hoffman2 over a low bandwidth (or high bandwidth) connection
  • responsivity of graphical applications (especially over a slower network or wireless)
  • ability to reconnect (most of the times) to a suspended sessions (but you should not depend on it)

Remote desktop apps supported on Hoffman2¶

  • NoMachine
  • X2Go

Connecting via a remote desktop: NoMachine (Hands-on)¶

https://www.hoffman2.idre.ucla.edu/Using-H2/Connecting/Connecting.html#nomachine-client

nomachine1.png

Connecting via a remote desktop: NoMachine (Cont'd)¶

nomachine2.png

Connecting via NoMachine for the first time¶

nomachine3.png

Connecting via a remote desktop: NoMachine (cont'd)¶

nomachine4.png

Connecting via a remote desktop: NoMachine (cont'd)¶

nomachine5.png

Connecting via a remote desktop: NoMachine (cont'd)¶

nomachine6.png

Connecting via a remote desktop: NoMachine¶

https://www.hoffman2.idre.ucla.edu/Using-H2/Connecting/Connecting.html#nomachine-client

nomachine7-2.png

Connecting via remote desktop: X2Go (Hands-on)¶

https://www.hoffman2.idre.ucla.edu/Using-H2/Connecting/Connecting.html#x2go-client

Screen%20Shot%202022-02-08%20at%208.08.11%20PM.png

Connecting via remote desktop: X2Go (Cont'd)¶

Screen%20Shot%202022-02-08%20at%204.08.39%20PM.png

Connecting via X2Go for the first time¶

Screen%20Shot%202022-02-08%20at%204.09.18%20PM-2.png

Connecting via remote desktop: X2Go (Cont'd)¶

Screen%20Shot%202022-02-08%20at%204.19.20%20PM.png

Connecting via remote desktop: X2Go¶

https://www.hoffman2.idre.ucla.edu/Using-H2/Connecting/Connecting.html#x2go-client

Screen%20Shot%202022-02-08%20at%204.21.56%20PM.png

Reconnecting to a suspended remote dektop¶

https://www.hoffman2.idre.ucla.edu/Using-H2/Connecting/Connecting.html#connecting-via-remote-desktop

NoMachine client¶

  • create a session and connect to nx.hoffman2.idre.ucla.edu when starting a new desktop
  • before suspending a remote desktop make note of the name of the nx node (nx1 or nx2)
  • create sessions for:
    • nx1.hoffman2.idre.ucla.edu
    • nx2.hoffman2.idre.ucla.edu
  • use the nx1.hoffman2.idre.ucla.edu or nx2.hoffman2.idre.ucla.edu sessions to reconnect

Reconnecting to a suspended remote dektop¶

https://www.hoffman2.idre.ucla.edu/Using-H2/Connecting/Connecting.html#connecting-via-remote-desktop

X2Go client¶

  • create a session and connect to x2go.hoffman2.idre.ucla.edu when starting a new desktop
  • before suspending a remote desktop make note of the name of the x2go node (x2go1 or x2go2)
  • create sessions for:
    • x2go1.hoffman2.idre.ucla.edu
    • x2go2.hoffman2.idre.ucla.edu
  • use the x2go1.hoffman2.idre.ucla.edu or x2go2.hoffman2.idre.ucla.edu sessions to reconnect

Data transfer to and from the cluster¶

https://www.hoffman2.idre.ucla.edu/Using-H2/Data-transfer.html#

Screenshot%202023-10-25%20at%208.09.14%E2%80%AFAM.png

Copying your data to and from the Hoffman2 Cluster - Tools 1¶

https://www.hoffman2.idre.ucla.edu/Using-H2/Data-transfer.html

Screen%20Shot%202022-02-08%20at%208.36.18%20PM.png

Copying your data to and fron the Hoffman2 Cluster - Tools 2¶

https://www.hoffman2.idre.ucla.edu/Using-H2/Data-transfer.html

Screen%20Shot%202022-02-08%20at%208.45.53%20PM.png

Copying your data to and fron the Hoffman2 Cluster - scp example¶

https://www.hoffman2.idre.ucla.edu/Using-H2/Data-transfer.html

Open a new terminal on your computer and issue:

scp -r ./MYDIR joebruin@dtn.hoffman2.idre.ucla.edu:~/

https://www.hoffman2.idre.ucla.edu/Using-H2/Data-transfer.html#globus

Screenshot%202023-10-25%20at%208.12.04%E2%80%AFAM.png

https://www.hoffman2.idre.ucla.edu/Using-H2/Data-transfer.html#globus-connect-server

Screenshot%202023-10-25%20at%208.15.01%E2%80%AFAM.png

https://www.globus.org/globus-connect-personal

Screenshot%202023-10-25%20at%208.27.47%E2%80%AFAM.png

https://www.hoffman2.idre.ucla.edu/Using-H2/Data-transfer.html#installation

Screenshot%202023-10-25%20at%208.16.40%E2%80%AFAM.png

https://www.globus.org/globus-connect-personal

Screenshot%202023-10-25%20at%208.29.41%E2%80%AFAM.png

https://docs.globus.org/how-to/globus-connect-personal-mac/

Screenshot%202023-10-25%20at%208.33.56%E2%80%AFAM.png

https://www.hoffman2.idre.ucla.edu/Using-H2/Data-transfer.html#connect-to-the-hoffman2-cluster-file-systems

Screenshot%202023-10-30%20at%2010.56.38%E2%80%AFAM.png

https://docs.globus.org/how-to/globus-connect-personal-mac/

Screenshot%202023-10-25%20at%208.35.44%E2%80%AFAM.png

https://docs.globus.org/how-to/globus-connect-personal-mac/

Screenshot%202023-10-25%20at%208.38.21%E2%80%AFAM.png

https://docs.globus.org/how-to/globus-connect-personal-mac/

Screenshot%202023-10-25%20at%208.40.00%E2%80%AFAM.png

https://docs.globus.org/how-to/globus-connect-personal-mac/

Screenshot%202023-10-25%20at%208.40.15%E2%80%AFAM.png

https://docs.globus.org/how-to/globus-connect-personal-mac/

Screenshot%202023-10-25%20at%208.40.34%E2%80%AFAM.png

https://docs.globus.org/how-to/globus-connect-personal-mac/

Screenshot%202023-10-25%20at%208.40.57%E2%80%AFAM.png

Screenshot%202023-10-25%20at%208.52.25%E2%80%AFAM.png

Screenshot%202023-10-25%20at%208.52.43%E2%80%AFAM.png

Screenshot%202023-10-25%20at%208.53.04%E2%80%AFAM.png

Screenshot%202023-10-25%20at%208.55.36%E2%80%AFAM.png

Screenshot%202023-10-25%20at%209.00.36%E2%80%AFAM.png

Hands-on: Installation of Globus Connect Personal on Windows?¶

Copy data to and from the Hoffman2 Cluster via MobaXterm¶

  1. Click on the Session button:

mobaxterm1.png

Copy data to and from the Hoffman2 Cluster via MobaXterm - continued¶

  1. Click on the SFTP button:

mobaxterm2.png

Copy data to and from the Hoffman2 Cluster via MobaXterm - continued (III)¶

  1. Configure the session: set Remote host to dtn.hoffman2.idre.ucla.edu and add your cluster username

mobaxterm3.png

Copy data to and from the Hoffman2 Cluster via MobaXterm - continued (II)¶

  1. Authenticate:

mobaxterm4.png

Copy data to and from the Hoffman2 Cluster via MobaXterm - continued (II)¶

  1. Drag and drop data to be copied:

mobaxterm5.png

VS Code hands on¶